package cn.gson.crmdemo.model.vo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


@Entity
@Table(name = "returnes")
public class ReturneCustomerOrderVo {
	
	@Id
	@Column(name="r_id")
	private int rId;

	@Column(name="r_absum")
	private BigDecimal rAbsum;

	@Column(name="r_bmoneystate")
	private int rBmoneystate;

	@Column(name="r_bsum")
	private BigDecimal rBsum;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="r_date")
	private Date rDate;

	@Column(name="r_inputstate")
	private int rInputstate;

	@Column(name="r_isor_notuse")
	private int rIsorNotuse;

	@Column(name="r_jingbanren")
	private String rJingbanren;

	@Column(name="r_no")
	private String rNo;

	@Column(name="r_remark")
	private String rRemark;

	@Column(name="r_state")
	private int rState;

	@Column(name="r_title")
	private String rTitle;

	@Column(name="customer_id")
	private int customer;

	@Column(name="o_id")
	private int order;

	public int getrId() {
		return rId;
	}

	public void setrId(int rId) {
		this.rId = rId;
	}

	public BigDecimal getrAbsum() {
		return rAbsum;
	}

	public void setrAbsum(BigDecimal rAbsum) {
		this.rAbsum = rAbsum;
	}

	public int getrBmoneystate() {
		return rBmoneystate;
	}

	public void setrBmoneystate(int rBmoneystate) {
		this.rBmoneystate = rBmoneystate;
	}

	public BigDecimal getrBsum() {
		return rBsum;
	}

	public void setrBsum(BigDecimal rBsum) {
		this.rBsum = rBsum;
	}

	public Date getrDate() {
		return rDate;
	}

	public void setrDate(Date rDate) {
		this.rDate = rDate;
	}

	public int getrInputstate() {
		return rInputstate;
	}

	public void setrInputstate(int rInputstate) {
		this.rInputstate = rInputstate;
	}

	public int getrIsorNotuse() {
		return rIsorNotuse;
	}

	public void setrIsorNotuse(int rIsorNotuse) {
		this.rIsorNotuse = rIsorNotuse;
	}

	public String getrJingbanren() {
		return rJingbanren;
	}

	public void setrJingbanren(String rJingbanren) {
		this.rJingbanren = rJingbanren;
	}

	public String getrNo() {
		return rNo;
	}

	public void setrNo(String rNo) {
		this.rNo = rNo;
	}

	public String getrRemark() {
		return rRemark;
	}

	public void setrRemark(String rRemark) {
		this.rRemark = rRemark;
	}

	public int getrState() {
		return rState;
	}

	public void setrState(int rState) {
		this.rState = rState;
	}

	public String getrTitle() {
		return rTitle;
	}

	public void setrTitle(String rTitle) {
		this.rTitle = rTitle;
	}

	public int getCustomer() {
		return customer;
	}

	public void setCustomer(int customer) {
		this.customer = customer;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public ReturneCustomerOrderVo(int rId, BigDecimal rAbsum, int rBmoneystate, BigDecimal rBsum, Date rDate,
			int rInputstate, int rIsorNotuse, String rJingbanren, String rNo, String rRemark, int rState, String rTitle,
			int customer, int order) {
		super();
		this.rId = rId;
		this.rAbsum = rAbsum;
		this.rBmoneystate = rBmoneystate;
		this.rBsum = rBsum;
		this.rDate = rDate;
		this.rInputstate = rInputstate;
		this.rIsorNotuse = rIsorNotuse;
		this.rJingbanren = rJingbanren;
		this.rNo = rNo;
		this.rRemark = rRemark;
		this.rState = rState;
		this.rTitle = rTitle;
		this.customer = customer;
		this.order = order;
	}

	public ReturneCustomerOrderVo() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "ReturneCustomerOrderVo [rId=" + rId + ", rAbsum=" + rAbsum + ", rBmoneystate=" + rBmoneystate
				+ ", rBsum=" + rBsum + ", rDate=" + rDate + ", rInputstate=" + rInputstate + ", rIsorNotuse="
				+ rIsorNotuse + ", rJingbanren=" + rJingbanren + ", rNo=" + rNo + ", rRemark=" + rRemark + ", rState="
				+ rState + ", rTitle=" + rTitle + ", customer=" + customer + ", order=" + order + "]";
	}
	
	
	
}
